package com.tjh.spring5.collectiontype;

/**
 * Create by koala on 2021-02-16
 * day12：课程类
 */
public class Course {

    private String cname; //课程名称

    public void setCname(String cname) {
        this.cname = cname;
    }

    @Override
    public String toString() {
        return "Course{" +
                "cname='" + cname + '\'' +
                '}';
    }

}
